<template>
<div>
    <Button @click="exit" type="primary" >退出</Button>
    <Button @click="check" type="primary">check</Button>
    <transition  name="fade" mode="out-in">
        <keep-alive>
            <router-view></router-view>
        </keep-alive>
    </transition>
</div>
</template>
<script>
export default {
    methods:{
        exit(){
            this.$store.dispatch('user_remove').then(()=>{
                this.$router.push('/')
            })
        },check(){
            this.axios.get('/mock/user/check').then(res=>{
                
            })
        }
    }
}
</script>
<style lang="less" >

</style>

